<link rel="stylesheet" type="text/css" href="/modules/mailsystemmodule/css/temp_manage.css">
<script type="text/javascript" src="/modules/profilemodule/js/fileuploader/fileuploader.min.js"></script>
<script type="text/javascript" src="/modules/mailsystemmodule/js/template_manage.js"></script>
<div title="Template manage" data-options="closable:false" class="manage_tab">  
        <div id="_manage_template" toolbar="#_manage_temp_tool"></div>  
    </div>  
    
{*Template manage tool*}
<div id="_manage_temp_tool" style="height:50px">
    <input id="_temp_search" style="width:250px" ></input>
    <div id="_temp_search_menu" style="width:120px">  
        <div data-options="name:'name'">Name</div>  
        <div data-options="name:'group'">Group</div>  
        <div data-options="name:'description'">Description</div> 
    </div>  

    <select id="_temp_group" name="group" style="width:100px; height:50px" required="true">
        <option value="All">All</option>
        {foreach from=$groups item=group}
        <option value="{$group}">{$group}</option>
        {/foreach}
    </select>

    <a href="javascript:void(0);" class="easyui-linkbutton" onclick="jQuery('#_manage_template').datagrid('reload');" iconCls="icon-filter" ></a>

    <br>
    <a href="javascript:void(0);" class="easyui-linkbutton" iconCls="icon-add" plain="true" onclick="__temp_Edit(true)">New</a>
    <a href="javascript:void(0);" class="easyui-linkbutton" iconCls="icon-edit" plain="true" onclick="__temp_Edit(false)">Edit</a>
    <a href="javascript:void(0);" class="easyui-linkbutton" iconCls="icon-remove" plain="true" onclick="__temp_Remove()">Delete</a>   
    <a href="#" id="_temp_Attach_file">+ Upload File </a><div id="zip_list"></div>s
</div> 